package com.sduept.i1.model;

import java.util.Date;

public class Working {
    private String identification;
    private Date pickTime;//设备时间
    private Date saveTime;//保存时间
    private int solarVolt; //太阳能电压
    private int batteryVolt; //电池电压
    private int superCapVolt; //超级电容电压
    private int chargingCur;//充电电流
    private int devConsumCur;//装置功耗电流
    private int measureLightIntensity;//测量光强
    private int measureCur;//测量电流
    private int measureSound;//测量声响
    private int stateBd;//BD状态
    private int state485;//485状态
    private int state433;//433状态
    private int timeBase; //时间基准，0：RTC， 1：NTP， 2：GPS
    private String latitude;//维度
    private char ns;//N或者S
    private String longitude;//经度
    private char ew;//E或者W
    private int picAlarmPeriod;//拍照告警周期
    private int picUploadPeriod;//拍照上送周期
    private int currentStartSetting;//电流启动定值
    private int envTemp; //环境温度
    private int batteryPercent; //电池电量百分比：1-100
    private int devStaticConsumCur; //装置静态功耗电流
    private int workRunMode; //工作运行模式，0正常模式，1自动模式，2识别模式，3特殊模式

    public Working() {
        this.identification = "";
        this.pickTime = new Date();
        this.saveTime = new Date();
        this.solarVolt = 0;
        this.batteryVolt = 0;
        this.superCapVolt = 0;
        this.chargingCur = 0;
        this.devConsumCur = 0;
        this.measureLightIntensity = 0;
        this.measureCur = 0;
        this.measureSound = 0;
        this.stateBd = 0;
        this.state485 = 0;
        this.state433 = 0;
        this.timeBase = 0;
        this.latitude = "";
        this.ns = '0';
        this.longitude = "";
        this.ew = '0';
        this.picAlarmPeriod = 0;
        this.picUploadPeriod = 0;
        this.currentStartSetting = 0;
        this.envTemp = 0;
        this.batteryPercent = 0;
        this.devStaticConsumCur = 0;
        this.workRunMode = 0;
    }

    public int getSolarVolt() {
        return solarVolt;
    }

    public void setSolarVolt(int solarVolt) {
        this.solarVolt = solarVolt;
    }

    public int getBatteryVolt() {
        return batteryVolt;
    }

    public void setBatteryVolt(int batteryVolt) {
        this.batteryVolt = batteryVolt;
    }

    public int getSuperCapVolt() {
        return superCapVolt;
    }

    public void setSuperCapVolt(int superCapVolt) {
        this.superCapVolt = superCapVolt;
    }

    public int getChargingCur() {
        return chargingCur;
    }

    public void setChargingCur(int chargingCur) {
        this.chargingCur = chargingCur;
    }

    public int getDevConsumCur() {
        return devConsumCur;
    }

    public void setDevConsumCur(int devConsumCur) {
        this.devConsumCur = devConsumCur;
    }

    public int getMeasureLightIntensity() {
        return measureLightIntensity;
    }

    public void setMeasureLightIntensity(int measureLightIntensity) {
        this.measureLightIntensity = measureLightIntensity;
    }

    public int getMeasureCur() {
        return measureCur;
    }

    public void setMeasureCur(int measureCur) {
        this.measureCur = measureCur;
    }

    public int getMeasureSound() {
        return measureSound;
    }

    public void setMeasureSound(int measureSound) {
        this.measureSound = measureSound;
    }

    public int getStateBd() {
        return stateBd;
    }

    public void setStateBd(int stateBd) {
        this.stateBd = stateBd;
    }

    public int getState485() {
        return state485;
    }

    public void setState485(int state485) {
        this.state485 = state485;
    }

    public int getState433() {
        return state433;
    }

    public void setState433(int state433) {
        this.state433 = state433;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public char getNs() {
        return ns;
    }

    public void setNs(char ns) {
        this.ns = ns;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public char getEw() {
        return ew;
    }

    public void setEw(char ew) {
        this.ew = ew;
    }

    public int getPicAlarmPeriod() {
        return picAlarmPeriod;
    }

    public void setPicAlarmPeriod(int picAlarmPeriod) {
        this.picAlarmPeriod = picAlarmPeriod;
    }

    public int getPicUploadPeriod() {
        return picUploadPeriod;
    }

    public void setPicUploadPeriod(int picUploadPeriod) {
        this.picUploadPeriod = picUploadPeriod;
    }

    public int getCurrentStartSetting() {
        return currentStartSetting;
    }

    public void setCurrentStartSetting(int currentStartSetting) {
        this.currentStartSetting = currentStartSetting;
    }

    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }

    public Date getPickTime() {
        return pickTime;
    }

    public void setPickTime(Date pickTime) {
        this.pickTime = pickTime;
    }

    public Date getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(Date saveTime) {
        this.saveTime = saveTime;
    }

    public int getTimeBase() {
        return timeBase;
    }

    public void setTimeBase(int timeBase) {
        this.timeBase = timeBase;
    }

    public int getEnvTemp() {
        return envTemp;
    }

    public void setEnvTemp(int envTemp) {
        this.envTemp = envTemp;
    }

    public int getBatteryPercent() {
        return batteryPercent;
    }

    public void setBatteryPercent(int batteryPercent) {
        this.batteryPercent = batteryPercent;
    }

    public int getDevStaticConsumCur() {
        return devStaticConsumCur;
    }

    public void setDevStaticConsumCur(int devStaticConsumCur) {
        this.devStaticConsumCur = devStaticConsumCur;
    }

    public int getWorkRunMode() {
        return workRunMode;
    }

    public void setWorkRunMode(int workRunMode) {
        this.workRunMode = workRunMode;
    }
}
